package com.company.demo.strategy_sort;

import com.company.demo.TestInterface;

public class strategyModeTest implements TestInterface {

    @Override
    public void run() {

        double[] number = new double[10];
        //读取文件

        //这里可以采用反射机制，反射工厂
        Sort sort = new BubbleSort();
        sort.sort(number);
        sort = new SelectionSort();
        sort.sort(number);

        //写入文件
    }
}
